﻿using System;

namespace SampleCode.VirtualFS
{
    /// <summary>
    /// Arguments for 'Folder created' event
    /// </summary>
    public class FsFolderChangedEventArgs : EventArgs
    {
        /// <summary>
        /// A ctor
        /// </summary>
        /// <param name="folderInfo"></param>
        internal FsFolderChangedEventArgs(FsFolderInfo folderInfo)
        {
            FolderInfo = folderInfo;
        }

        /// <summary>
        /// Information about the changed folder
        /// </summary>
        public FsFolderInfo FolderInfo { get; private set; }
    }

    /// <summary>
    /// A delegate for 'Folder created' event
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void FsFolderChangedEventHandler(object sender, FsFolderChangedEventArgs e);
}
